package com.wmlt.entity;


import java.sql.Timestamp;

public class LiveBroadcast {

  private Long id;
  private Integer liveNo;//直播号
  private Integer cid;//直播分类
  private String title;//直播标题
  private String liveImageUrl;//封面
  private String liveUrl;//key
  private String liveStartTime;//直播开始时间
  private String liveEndTime;//直播结束时间
  private Integer status;//状态
  private Integer deleted;
  private String userId;//直播用户id
  private User user;//用户对象

  public User getUser() {
    return user;
  }

  public void setUser(User user) {
    this.user = user;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Integer getLiveNo() {
    return liveNo;
  }

  public void setLiveNo(Integer liveNo) {
    this.liveNo = liveNo;
  }

  public Integer getCid() {
    return cid;
  }

  public void setCid(Integer cid) {
    this.cid = cid;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getLiveImageUrl() {
    return liveImageUrl;
  }

  public void setLiveImageUrl(String liveImageUrl) {
    this.liveImageUrl = liveImageUrl;
  }

  public String getLiveUrl() {
    return liveUrl;
  }

  public void setLiveUrl(String liveUrl) {
    this.liveUrl = liveUrl;
  }

  public String getLiveStartTime() {
    return liveStartTime;
  }

  public void setLiveStartTime(String liveStartTime) {
    this.liveStartTime = liveStartTime;
  }

  public String getLiveEndTime() {
    return liveEndTime;
  }

  public void setLiveEndTime(String liveEndTime) {
    this.liveEndTime = liveEndTime;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public Integer getDeleted() {
    return deleted;
  }

  public void setDeleted(Integer deleted) {
    this.deleted = deleted;
  }

  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }

  public LiveBroadcast(Long id, Integer liveNo, Integer cid, String title, String liveImageUrl, String liveUrl, String liveStartTime, String liveEndTime, Integer status, Integer deleted,String userId) {
    this.id = id;
    this.liveNo = liveNo;
    this.cid = cid;
    this.title = title;
    this.liveImageUrl = liveImageUrl;
    this.liveUrl = liveUrl;
    this.liveStartTime = liveStartTime;
    this.liveEndTime = liveEndTime;
    this.status = status;
    this.deleted = deleted;
    this.userId=userId;
  }

  public LiveBroadcast() {
  }

  @Override
  public String toString() {
    return "LiveBroadcast{" +
            "id=" + id +
            ", liveNo=" + liveNo +
            ", cid=" + cid +
            ", title='" + title + '\'' +
            ", liveImageUrl='" + liveImageUrl + '\'' +
            ", liveUrl='" + liveUrl + '\'' +
            ", liveStartTime='" + liveStartTime + '\'' +
            ", liveEndTime='" + liveEndTime + '\'' +
            ", status=" + status +
            ", deleted=" + deleted +
            ", userId=" + userId +
            '}';
  }
}
